Due to AJAX uploading mechanism, most file upload components will fail to work when the application is used in webfarm environment, or in server running multiple worker requests.
When running your application in such configuration, the load balancer automatically redirects the AJAX request to one of the available servers which may not be the originating server that receives the upload data. This mechanism affects the file upload component since the AJAX request may receive invalid response and thus unable to obtain the required upload information which finally failing the progress bar.
![]() |
Intersoft WebFileUploader addressed this limitation elegantly with its high-performance, reliable FileStateServer technology. When using FileStateServer, WebFileUploader streamlines all required uploading information in its state server, making it possible for AJAX request to receive real-time synchronized information regardless of the server that process the request. |
To enable FileStateServer in WebFileUploader to support webfarm configuration, simply add the following entries to your web.config:
<add key = "ISNet.WebUI.WebFileUploader.ContextStorage"
value = "FileServer" />
<add key = "ISNet.WebUI.WebFileUploader.ContextStorageFileServer"
value = "path=\\Server\ContextUploadStorage" />
![]() |
Make sure all your load balanced servers have the permissions and sufficient security settings to access the server and the shared resource. You may need to provide network credentials in your web.config to allow your application to access the specified server resource. |
Other Resources
{Large files uploading with minimal resources consumption}
{IIS 6 and IIS 7 Integrated mode support}
{Rich user experiences}
{Built-in file saving}
{Real-time progress bar}
{Upload}
{Client-side events}
{Server-side events}
{Initial files count}
{Limit upload files by type, count, or custom}
{Limit upload size and total upload size}
